package api.homework01;

public class StartsWithDemo {
    public static void main(String[] args) {
        String str = "hello world";
        boolean start = str.startsWith("hel");
        System.out.println(start);
        boolean end = str.endsWith("ld");
        System.out.println(end);
        boolean a3 = str.endsWith("1sdfs");
    }
}
